﻿namespace Dcms.BLL
{
    using Dcms.IDAL;
    using Dcms.Model;
    using System;
    using System.Collections.Generic;

    public class Dcms_JobSeekerBLL
    {
        private IDcms_JobSeekerDAL Js = Dcms.DALFactory.DALFactory.CreateDcms_JobSeeker();

        public Dcms_JobSeekerModel AddModel(Dcms_JobSeekerModel model)
        {
            return this.Js.AddModel(model);
        }

        public void DeleteModelByID(int ID)
        {
            this.Js.DeleteModelByID(ID);
        }

        public string GetDataCount(string SqlStr)
        {
            return this.Js.GetDataCount(SqlStr);
        }

        public IList<Dcms_JobSeekerModel> GetDataListByPage(string SqlStr, int CurPage, int PageSize)
        {
            return this.Js.GetDataListByPage(SqlStr, CurPage, PageSize);
        }

        public Dcms_JobSeekerModel GetModelByID(int ID)
        {
            return this.Js.GetModelByID(ID);
        }

        public Dcms_JobSeekerModel Update(Dcms_JobSeekerModel model)
        {
            return this.Js.Update(model);
        }
    }
}

